﻿using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using Core.Entity;

namespace WebServiceTest
{
    /// <summary>
    /// Service1 的摘要说明
    /// </summary>
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [ToolboxItem(false)]
    public class Service1 : System.Web.Services.WebService
    {
        public MySoapHeader myHeader = new MySoapHeader();
        [System.Web.Services.Protocols.SoapHeader("myHeader")]
        [WebMethod]
        [MyExtensionAttribute]
        public string HelloWord(ref string str)
        {
            return "test";
        }   
    }
}
